package com.haibara.codesubmiteval.judge.strategy;

import com.haibara.codesubmiteval.model.enums.JudgeResultEnum;
import org.springframework.stereotype.Service;

@Service
public class JudgeManager {
    public JudgeResultEnum doJudge(JudgeContext judgeContext){
        JudgeStrategy judgeStrategy = new DefaultJudgeStrategy();
        // 扩展策略
        return judgeStrategy.doJudge(judgeContext);
    }
}
